package com.elink.enginerring.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.domain.KeyWord;

public interface KeyWordMapper {
    int deleteByPrimaryKey(Integer keyWordId);

    int insert(KeyWord record);

    int insertSelective(KeyWord record);

    KeyWord selectByPrimaryKey(Integer keyWordId);

    int updateByPrimaryKeySelective(KeyWord record);

    int updateByPrimaryKey(KeyWord record);

    KeyWord selectByKeyWord(@Param("keyWord")String keyWord);
    
    List<KeyWord> getKeyWord(@Param("count")int count);
    
}